# coding:utf-8

# sentences = [line[2:] for line in open('train/neg.txt', 'r', encoding='utf-8').readlines()]
# # open('train/neg.txt', 'w',encoding='utf-8').writelines(''.join(sentences))
from snownlp import SnowNLP

print(SnowNLP('他绝对不是好人').sentiments)